/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ias.springnote.db;

/**
 *
 * @author ias
 */
public class Session {
  
  private String userId;
  private String userKey;
  private String appKey;

  public Session(String userId, String userKey, String appKey) {
    this.userId = userId;
    this.userKey = userKey;
    this.appKey = appKey;
  }

  public Database getDatabase(String domain) {
    return new Database(userId, userKey, appKey, domain);
  }

}
